.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}
.custom-card {
    border: 1px solid #ced4da;
}
.customizer-action svg{
    width: 23px !important;
    color: #ffffff !important;
}
.active-mode{
    border: solid 2px #000000 !important;
}
.property-img{
    max-width: 507px;
    max-height: 286px;
}
.text-justify{
    text-align: justify;
}
.custom .media{
    padding: 10px !important;
}
.user-avatar{
    width: 30px;
    height: 30px;
}
@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}
.blgcomment-list li .media img{
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}
.codex-sidebar .logo-gridwrap{
    padding: 0px 16px !important;
}

.setting-logo{
    width:300px !important;;
}

/* ===== UNIVERSAL LOGO SIZING SYSTEM ===== */
/* Global logo responsive system for any header */

/* Base logo container */
.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Universal responsive logo base */
.logo-responsive {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

/* Landing Page Logos */
.logo-landing, .logo-landing-header {
    max-width: 240px;
    max-height: 58px;
}

.logo-landing {
    max-height: 65px;
    max-width: 250px;
}

/* Admin Dashboard Logos */
.logo-admin, .logo-admin-header, .logo-dashboard {
    max-width: 220px;
    max-height: 55px;
}

.logo-admin-header {
    max-width: 180px !important;
    max-height: 45px !important;
    margin: 0 auto;
    display: block;
    object-fit: contain !important;
    border-radius: 4px;
}

/* Authentication Logos */
.logo-auth, .logo-login, .logo-register {
    max-width: 320px;
    max-height: 90px;
}

.logo-login, .logo-register {
    max-width: 300px;
    max-height: 85px;
}

/* Global/Public Page Logos */
.logo-global, .logo-page, .logo-public {
    max-width: 200px;
    max-height: 60px;
}

.logo-page {
    max-width: 190px;
    max-height: 55px;
}

/* Footer Logos */
.logo-footer {
    max-width: 180px;
    max-height: 50px;
}

/* Email/Mail Logos */
.logo-email, .logo-mail {
    max-width: 300px;
    max-height: 80px;
}

/* Invoice/PDF Logos */
.logo-invoice, .logo-pdf {
    max-width: 250px;
    max-height: 70px;
}

/* Default Logo */
.logo-default {
    max-width: 200px;
    max-height: 60px;
}

/* ===== HEADER-SPECIFIC OPTIMIZATIONS ===== */

/* Landing Page Header */
.navbar .logo-container {
    padding: 8px 0;
    margin-right: 1rem;
}

.navbar .logo-responsive {
    transition: all 0.3s ease;
}

/* Sticky/Collapsed Navbar */
.navbar.top-nav-collapse .logo-container {
    padding: 4px 0;
}

.navbar.top-nav-collapse .logo-responsive {
    transform: scale(0.9);
}

/* Admin Sidebar */
.pc-sidebar .logo-container {
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Sidebar header logo specific */
.pc-sidebar .m-header {
    padding: 15px 20px;
    text-align: center;
    overflow: hidden;
}

.pc-sidebar .m-header .b-brand {
    display: inline-block;
    max-width: 100%;
}

.pc-sidebar .m-header .logo-admin-header {
    max-width: 160px !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Auth Pages */
.auth-main .logo-container {
    margin: 0 auto 2rem;
    text-align: center;
    display: block;
}

/* Footer */
footer .logo-container {
    margin-bottom: 1rem;
    display: inline-block;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .logo-landing, .logo-landing-header {
        max-width: 170px;
        max-height: 42px;
    }
    
    .logo-admin, .logo-admin-header, .logo-dashboard {
        max-width: 160px;
        max-height: 40px;
    }
    
    .logo-auth, .logo-login, .logo-register {
        max-width: 250px;
        max-height: 70px;
    }
    
    .logo-global, .logo-page, .logo-public {
        max-width: 160px;
        max-height: 50px;
    }
    
    .logo-footer {
        max-width: 150px;
        max-height: 40px;
    }
    
    .logo-email, .logo-mail {
        max-width: 240px;
        max-height: 65px;
    }
    
    .logo-invoice, .logo-pdf {
        max-width: 200px;
        max-height: 55px;
    }
    
    .logo-default {
        max-width: 160px;
        max-height: 50px;
    }
    
    .navbar .logo-container {
        padding: 6px 0;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .logo-landing, .logo-landing-header {
        max-width: 150px;
        max-height: 38px;
    }
    
    .logo-admin, .logo-admin-header, .logo-dashboard {
        max-width: 140px;
        max-height: 36px;
    }
    
    .logo-auth, .logo-login, .logo-register {
        max-width: 200px;
        max-height: 60px;
    }
    
    .logo-global, .logo-page, .logo-public {
        max-width: 140px;
        max-height: 45px;
    }
    
    .logo-footer {
        max-width: 130px;
        max-height: 35px;
    }
    
    .logo-email, .logo-mail {
        max-width: 180px;
        max-height: 50px;
    }
    
    .logo-invoice, .logo-pdf {
        max-width: 160px;
        max-height: 45px;
    }
    
    .logo-default {
        max-width: 140px;
        max-height: 45px;
    }
    
    .navbar .logo-container {
        padding: 4px 0;
    }
}

/* ===== LEGACY COMPATIBILITY ===== */
/* Keep existing classes working while transitioning */

/* Landing Page Logo */
.landing-logo {
    display: inline-block;
    max-width: 250px;
    height: auto;
    transition: all 0.3s ease;
}

/* Landing Header Logo - Optimized for navbar */
.navbar .landing-logo {
    max-width: 240px;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.landing-logo img {
    width: 100%;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    display: block;
}

/* Navbar specific logo optimization */
.navbar .landing-logo img {
    max-height: 58px;
    transition: all 0.3s ease;
    vertical-align: middle;
}

/* Landing page sticky navbar logo adjustment */
.navbar.top-nav-collapse .landing-logo {
    max-width: 220px;
}

.navbar.top-nav-collapse .landing-logo img {
    max-height: 50px;
}

/* Ensure logo doesn't break navbar flow */
.navbar-brand.landing-logo {
    margin-right: 1rem;
    white-space: nowrap;
}

/* Footer Logo */
.landing-logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Footer specific logo styling */
footer .landing-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

footer .landing-logo img {
    max-height: 60px;
    filter: brightness(1.1);
}

/* Admin Dashboard Logo */
.b-brand .logo {
    max-width: 220px !important;
    height: auto;
    transition: all 0.3s ease;
}

.b-brand .logo img {
    width: 100%;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    display: block;
}

/* Auth Page Logo */
.auth-main .auth-wrapper.v2 .logo {
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.auth-main .auth-wrapper.v2 .logo img {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    display: block;
}

/* Global Pages Logo */
.navbar-brand.landing-logo {
    padding: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-logo {
        max-width: 180px;
    }
    
    .navbar .landing-logo {
        max-width: 170px;
        padding: 6px 0;
    }
    
    .landing-logo img {
        max-height: 45px;
    }
    
    .navbar .landing-logo img {
        max-height: 42px;
    }
    
    .navbar.top-nav-collapse .landing-logo {
        max-width: 160px;
    }
    
    .navbar.top-nav-collapse .landing-logo img {
        max-height: 38px;
    }
    
    .b-brand .logo {
        max-width: 180px !important;
    }
    
    .b-brand .logo img {
        max-height: 45px;
    }
    
    .auth-main .auth-wrapper.v2 .logo {
        max-width: 250px;
    }
    
    .auth-main .auth-wrapper.v2 .logo img {
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    .landing-logo {
        max-width: 160px;
    }
    
    .navbar .landing-logo {
        max-width: 150px;
        padding: 4px 0;
    }
    
    .landing-logo img {
        max-height: 40px;
    }
    
    .navbar .landing-logo img {
        max-height: 38px;
    }
    
    .navbar.top-nav-collapse .landing-logo {
        max-width: 140px;
    }
    
    .navbar.top-nav-collapse .landing-logo img {
        max-height: 35px;
    }
    
    .b-brand .logo {
        max-width: 150px !important;
    }
    
    .b-brand .logo img {
        max-height: 40px;
    }
    
    .auth-main .auth-wrapper.v2 .logo {
        max-width: 200px;
    }
    
    .auth-main .auth-wrapper.v2 .logo img {
        max-height: 60px;
    }
}
.lan-footer .codex-brand{
    margin-block-end: 0px !important;
}
.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}
.invoice-logo{
    width: 250px;
}

.codex-calendar .events-list li{
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}
.codex-calendar .events-list{
    overflow: auto;
    height: 863px;
}
.landing_logo{
    filter: drop-shadow(2px 3px 7px #011C4B);
}
.head-invoice img{
    width: 250px;
}
.cdx-invoice .body-invoice .table tr td{
    padding: 10px 10px !important;
}


.codex-brand img{
    width: 300px;
}
.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}
.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}
.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}
.select2-container .select2-selection--multiple{
    min-height: 43px !important;
}
.select2-container--default .select2-selection--multiple{
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length{
    padding-left: 7px !important;
}
.dt-search{
    padding-right: 7px !important;
}
.dt-info{
    padding-left: 7px !important;
}
.dt-paging{
    padding-right: 7px !important;
}
.dt-buttons{
    padding-left: 7px !important;
    float: left;
}
.dt-container{
    margin-top: 10px;
}
.dt-info{
    float: left;
}
.dt-paging{
    float: right;
    padding-top: .85em;
}
.form-group{
    margin-bottom: 15px;
}
div:where(.swal2-container) h2:where(.swal2-title){
    font-size: 1.2em !important;
}
div:where(.swal2-container) .swal2-html-container{
    font-size: 0.9em !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    font-size: 0.8em !important;
}
div:where(.swal2-icon){
    width: 4em !important;
    height: 4em !important;
}
.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.testaments-cards::after {
    background: transparent !important;
}
.pricingpricing .price-card .product-list li::before {
    content : '\eb55';
    color: red;
}
.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}
.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active
{
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}

/* ===== DARK MODE FIXES ===== */

/* Select2 Dropdown Dark Mode - Force Dark Text for Readability */
.select2-container--default .select2-results__option {
    color: #212529 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff !important;
    color: #ffffff !important;
}

.select2-dropdown {
    background-color: #ffffff !important;
    border-color: #ced4da !important;
}

.select2-search--dropdown .select2-search__field {
    color: #212529 !important;
    background-color: #ffffff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #212529 !important;
    background-color: #e9ecef !important;
}

/* ICD/Diagnosis Dropdown Specific Fixes */
.select2-results__option .icd-code,
.select2-results__option .diagnosis-code {
    color: #212529 !important;
    font-weight: 600;
}

.select2-results__option .icd-description,
.select2-results__option .diagnosis-description {
    color: #495057 !important;
}

/* Dark Mode Select2 - When theme is dark */
[data-pc-theme=dark] .select2-container--default .select2-selection--single {
    background-color: #2d3436 !important;
    border-color: #4a4a4a !important;
}

[data-pc-theme=dark] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

[data-pc-theme=dark] .select2-container--default .select2-selection--multiple {
    background-color: #2d3436 !important;
    border-color: #4a4a4a !important;
}

[data-pc-theme=dark] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #4a4a4a !important;
    color: #ffffff !important;
    border-color: #5a5a5a !important;
}

/* Keep dropdown white for readability */
[data-pc-theme=dark] .select2-dropdown {
    background-color: #ffffff !important;
    border-color: #4a4a4a !important;
}

[data-pc-theme=dark] .select2-container--default .select2-results__option {
    color: #212529 !important;
}

[data-pc-theme=dark] .select2-search--dropdown .select2-search__field {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #ced4da !important;
}

/* Provider Service Tabs Dark Mode Fix */
[data-pc-theme=dark] .service-management-tabs .nav-link {
    color: #adb5bd !important;
    border-color: #4a4a4a !important;
    background-color: transparent !important;
}

[data-pc-theme=dark] .service-management-tabs .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1) !important;
}

[data-pc-theme=dark] .service-management-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

/* General Nav Tabs Dark Mode Fix */
[data-pc-theme=dark] .nav-tabs .nav-link {
    color: #adb5bd !important;
}

[data-pc-theme=dark] .nav-tabs .nav-link:hover {
    color: #ffffff !important;
}

[data-pc-theme=dark] .nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: #2d3436 !important;
    border-color: #4a4a4a #4a4a4a #2d3436 !important;
}

/* Nav Pills Dark Mode Fix */
[data-pc-theme=dark] .nav-pills .nav-link {
    color: #adb5bd !important;
}

[data-pc-theme=dark] .nav-pills .nav-link:hover {
    color: #ffffff !important;
}

[data-pc-theme=dark] .nav-pills .nav-link.active {
    color: #ffffff !important;
    background-color: #007bff !important;
}

/* Service Card Dark Mode */
[data-pc-theme=dark] .service-card {
    background-color: #2d3436 !important;
    border-color: #4a4a4a !important;
}

[data-pc-theme=dark] .service-card h6,
[data-pc-theme=dark] .service-card .h5,
[data-pc-theme=dark] .service-card .h6 {
    color: #ffffff !important;
}
